package interfaces

import "bridge_viewing/enum"

type BaseInterface interface {
	GetTraceId() string
	GetRequestId() string
	SetTraceId(traceId string)
	SetRequestId(traceId string)
}

type BaseResponseInterface interface {
	BaseInterface
	SetCode(code enum.ErrorCode)
	SetMsg(msg string)
	GetCode() enum.ErrorCode
	GetMsg() string
}

type BaseRequestInterface interface {
	BaseInterface
	GetUserId() int
	SetUserId(userId int)
}
